package Num23_20200319;

public class Num23_20200319 {
    public static void main(String[] args) {
        System.out.println(fun(5));
    }
    public static int fun(int n) {
        if(n == 1) {
            return 10;
        }else {
            return fun(n - 1) + 2;
        }
    }

}
